<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
  <head>
  <title>学生选课系统</title>
  </head>
  
  <body bgcolor="#D9DFAA">
	<table width="400" border=1>
	<caption>您的选课信息如下：</caption>
	<tr>
		<th>课程号</th><th>课程名</th><th>开学学期</th><th>学时</th><th>学分</th><th>操作</th>
	</tr>
	<s:iterator value="#request.list" id="kc">
	<tr>
		<td aligin="center"><s:Property value="#kc.kch"/></td>
		<td aligin="center"><s:Property value="#kc.kcm"/></td>
		<td aligin="center"><s:Property value="#kc.kxxq"/></td>
		<td aligin="center"><s:Property value="#kc.xs"/></td>
		<td aligin="center"><s:Property value="#kc.xf"/></td>
		<td aligin="center">
			<a href="deleteKc.action?kcb.kch=<s:Property value="#kc.kch"/>"
			onClick="if(!confirm('您确定退出该课程吗？'))return false;else return true;">退选</a>
		</td>
	</tr>
	</s:iterator>
	</table>
  </body>
</html>
